#!/bin/bash

# e.g. `watchfs plist` will find all disk activity related to .plist files

if [ -z "$1" ]
then
  sudo fs_usage -f filesys
else
  sudo fs_usage -f filesys | rg -i "$@"
fi
